module.exports = async (req, res) => {
  const host = req.headers['host']
  return {
    'get_blog_list': `${host}/api/blog/list`,
    'get_blog_detail': `${host}/api/blog/detail?{query:_id}`,
    'post_blog_publish': `${host}/api/blog/publish`,
    'post_blog_update': `${host}/api/blog/update`,
    'post_blog_del': `${host}/api/blog/del`,
    'get_item_list': `${host}/api/item/list`,
    'get_item_detail': `${host}/api/item/detail?{query:_id}`,
    'post_item_publish': `${host}/api/item/publish`,
    'post_item_update': `${host}/api/item/update`,
    'post_item_del': `${host}/api/item/del`,
    'post_user_login': `${host}/api/user/login`,
    'post_user_registry': `${host}/api/user/registry`
  }
}
